<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<%@ taglib prefix="t" uri="/easyui-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>


<%
// String lang = org.jeecgframework.core.util.BrowserUtils.getBrowserLanguage(request);
// String langurl = "plug-in/mutiLang/" + lang +".js";
String Id = request.getParameter("Id");
// session.setAttribute("lang", lang);
String path2 = request.getContextPath();
String basePath2 = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path2;
%>
<c:set var="webRoot" value="<%=basePath2%>" />
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<head>
<%-- <%@include file="head.jsp"%> --%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- <script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js" /></script> -->
<script type="text/javascript" src="js/zDrag.js"></script>
<script type="text/javascript" src="js/zDialog.js"></script>
<%-- <script src=<%=langurl%> type="text/javascript"></script> --%>

<style>
body { background: #ffffff; color: #444; font-size:12px;}
a { color: #07c; text-decoration: none; border: 0; background-color: transparent; }
body, div, q, iframe, form, h5 { margin: 0; padding: 0; }
img, fieldset { border: none 0; }
body, td, textarea { word-break: break-all; word-wrap: break-word; line-height:1.6; }
body, input, textarea, select, button { margin: 0; font-size: 14px; font-family: Tahoma, SimSun, sans-serif; }
div, p, table, th, td { font-size:1em; font-family:inherit; line-height:inherit; }
h5 { font-size:12px; }
ol li,ul li{ margin-bottom:0.5em;}
pre, code { font-family: "Courier New", Courier, monospace; word-wrap:break-word; line-height:1.4; font-size:12px;}
pre{background:#f6f6f6; border:#eee solid 1px; margin:1em 0.5em; padding:0.5em 1em;}
#content { padding-left:50px; padding-right:50px; }
#content h2 { font-size:20px; color:#069; padding-top:8px; margin-bottom:8px; }
#content h3 { margin:8px 0; font-size:14px; COLOR:#693; }
#content h4 { margin:8px 0; font-size:16px; COLOR:#690; }
#content div.item { margin-top:10px; margin-bottom:10px; border:#eee solid 4px; padding:10px; }
hr { clear:both; margin:7px 0; +margin: 0;
border:0 none; font-size: 1px; line-height:1px; color: #069; background-color:#069; height: 1px; }
.infobar { background:#fff9e3; border:1px solid #fadc80; color:#743e04; }
.buttonStyle{width:64px;height:22px;line-height:22px;color:#369;text-align:center;background:url(imges/popupimages/buticon.gif) no-repeat left top;border:0;font-size:12px;}
.buttonStyle:hover{background:url(imges/popupimages/buticon.gif) no-repeat left -23px;}

</style>
<link rel="stylesheet" href="css/index.css">
<title>日志详情</title>
</head>
<body>

	<%-- <t:base type="ckfinder,ckeditor,jquery,easyui,tools,DatePicker"></t:base> --%>
<!-- 	<script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script> -->
<!-- 	<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script> -->
<!-- 	<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"></script> -->

	<!--main -->
	<div class="luntan_13_top">
		<img src="imges/bj2.png">
	</div>

	<!--main -->
	<div class="qunzu1">
		<div class="jiayuan_con">
			<div class="jiayuan_top">
				<div class="jiayuan_center">
					<div class="jiayuan_tou" style="float: left;">
						<img src="imges/jiayuan_tou.png">
						<div class="jiayuan_tou1">
							此空间的主人是：<br>${myLogList.createName}
						</div>
					</div>
					<div class="jiayuan_yan" style="float: right;">
						<img src="imges/yan.png"> <span>今日访客0<br>访客总量333
						</span>
					</div>
					<div style="clear: both;"></div>
				</div>
			</div>
			<div style="height: 20px;"></div>
			<div class="jiayuan_div">
				<div style="float: left;">
					<div class="jiayuan_san">

						<a href="#" onclick="add('添加好友','indexController.do?goAddFriend&fId=${myLogList.createBy}&fName=${myLogList.createName}','addFriend')">添加好友</a>
<!-- 						<a href="#" class="easyui-linkbutton" plain="true" icon="icon-add" onclick="add('DEMO录入','demoController.do?aorudemo','addDemoList')">弹出方式添加</a> -->
						<span><a href="#">给我留言</a></span> <span><a href="#">打个招呼</a></span>
						<span><a href="#">发送消息</a></span>
					</div>


				</div>

				<div style="float: right;">

					<div class="vw mbm">
						<div class="h pbm">
							<h1 class="ph">${myLogList.title}</h1>
							<p class="xg2">
								<span class="xg1">已有 ${myLogList.readNum}次阅读</span><span
									class="xg1">${myLogList.createDate}</span>


							</p>
						</div>

						<div id="blog_article" class="">${myLogList.content}</div>
						<div id="click_div">
							<table cellpadding="0" cellspacing="0" class="atd">
								<tbody>
									<tr>
										<td><a
											href="home.php?mod=spacecp&amp;ac=click&amp;op=add&amp;clickid=1&amp;idtype=blogid&amp;id=10788&amp;hash=a80c2f163f45d44c37988a706b973ef2&amp;handlekey=clickhandle"
											id="click_blogid_10788_1"
											onclick="ajaxmenu(this);doane(event);"> <img
												src="static/image/click/luguo.gif" alt=""><br>路过
										</a></td>
										<td><a
											href="home.php?mod=spacecp&amp;ac=click&amp;op=add&amp;clickid=2&amp;idtype=blogid&amp;id=10788&amp;hash=a80c2f163f45d44c37988a706b973ef2&amp;handlekey=clickhandle"
											id="click_blogid_10788_2"
											onclick="ajaxmenu(this);doane(event);"> <img
												src="static/image/click/jidan.gif" alt=""><br>鸡蛋
										</a></td>
										<td><a
											href="home.php?mod=spacecp&amp;ac=click&amp;op=add&amp;clickid=3&amp;idtype=blogid&amp;id=10788&amp;hash=a80c2f163f45d44c37988a706b973ef2&amp;handlekey=clickhandle"
											id="click_blogid_10788_3"
											onclick="ajaxmenu(this);doane(event);"> <img
												src="static/image/click/xianhua.gif" alt=""><br>鲜花
										</a></td>
										<td><a
											href="home.php?mod=spacecp&amp;ac=click&amp;op=add&amp;clickid=4&amp;idtype=blogid&amp;id=10788&amp;hash=a80c2f163f45d44c37988a706b973ef2&amp;handlekey=clickhandle"
											id="click_blogid_10788_4"
											onclick="ajaxmenu(this);doane(event);"> <img
												src="static/image/click/woshou.gif" alt=""><br>握手
										</a></td>
										<td><a
											href="home.php?mod=spacecp&amp;ac=click&amp;op=add&amp;clickid=5&amp;idtype=blogid&amp;id=10788&amp;hash=a80c2f163f45d44c37988a706b973ef2&amp;handlekey=clickhandle"
											id="click_blogid_10788_5"
											onclick="ajaxmenu(this);doane(event);"> <img
												src="static/image/click/leiren.gif" alt=""><br>雷人
										</a></td>
									</tr>
								</tbody>
							</table>


						</div>

						<div class="o cl">
							<a
								href="home.php?mod=spacecp&amp;ac=favorite&amp;type=blog&amp;id=10788&amp;spaceuid=651917&amp;handlekey=favoritebloghk_10788"
								id="a_favorite"
								onclick="showWindow(this.id, this.href, 'get', 0);"
								class="oshr ofav">收藏</a> <a
								href="home.php?mod=spacecp&amp;ac=share&amp;type=blog&amp;id=10788&amp;handlekey=sharebloghk_10788"
								id="a_share" onclick="showWindow(this.id, this.href, 'get', 0);"
								class="oshr">分享</a><a
								href="misc.php?mod=invite&amp;action=blog&amp;id=10788"
								id="a_invite"
								onclick="showWindow('invite', this.href, 'get', 0);"
								class="oshr oivt">邀请</a> <a href="javascript:;"
								onclick="showWindow('miscreport10788', 'misc.php?mod=report&amp;rtype=blog&amp;uid=651917&amp;rid=10788', 'get', -1);return false;">举报</a>
						</div>

					</div>

					<div class="ct_vw cl">
						<div class="ct_vw_sd">
							<div class="mbm cl">
								<h2 class="">
									作者的其他最新日志 <span class=""><a href="#">全部</a></span>
								</h2>
								<!-- 显示前五条最新日志  --zyb -->
								<ul class="">
									<c:forEach items="${newLogList}" var="item" begin="0" end="4">
										<li>• <a
											href="indexController.do?logInfo&logId=${item.id}"
											target="_blank">${item.title}</a></li>
									</c:forEach>
								</ul>
							</div>
						</div>

						<div class="ct_vw_mn">
							<div id="div_main_content" class="mbm">
								<h3 class="">
									评论 (<span id="comment_replynum">${myLogList.plNum}</span> 个评论)
								</h3>
								<div id="comment_ul" class="xld xlda"></div>
								<ul>
									<c:forEach items="${comList}" var="item">
										<li>• ${item.commentsContent}</li>
									</c:forEach>

								</ul>
							</div>
							<form id="form_com" name="form_com"
								action="?logInfo&logId=${myLogList.id}" method="post">

								<div class="tedt mtn mbn">
									<div class="area">
										<textarea id="rzCom"
											onkeydown="ctrlEnter(event, 'commentsubmit_btn');"
											name="rzCom" rows="3" class="pt"></textarea>
									</div>
								</div>
								<p class="pns">
									<!-- 						<input type="hidden" name="referer" value="home.php?mod=space&amp;uid=651917&amp;do=blog&amp;id=10788"> -->
									<input type="hidden" id="rzId" name="rzId"
										value="${myLogList.id}">
									<!-- 						<input type="hidden" name="idtype" value="blogid"> -->
									<!-- 						<input type="hidden" name="handlekey" value="qcblog_10788"> -->
									<!-- 						<input type="hidden" name="commentsubmit" value="true"> -->
									<!-- 						<input type="hidden" name="quickcomment" value="true"> -->
									<input type="button" value="发表" class="" onclick="addPl()" />

								</p>
							</form>




						</div>
					</div>



				</div>


				<div style="clear: both;"></div>
			</div>
		</div>

		<!--foot -->
		<%@include file="foot.jsp"%>
</body>
<script type="text/javascript">
function addPl(){
	document.getElementById("form_com").submit();
}


</script>
</html>